﻿@model IEnumerable<WhereAmiMvc.Entities.EmployeesOfLocation>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<div class="container-fluid"></div>
@foreach (var item in Model)
{
    <a href="@Url.Action("Details", "DailyLogs", new
             {
                 id = item.IdEmployee
             })">
            <div class="col-sm-6 col-md-4">
                <div class="thumbnail">
                    <img src="..." alt="...">
                    <div class="caption">
                        <h3>@Html.DisplayFor(model => item.FullName)</h3>
                        <p>@Html.DisplayFor(model => item.DeptName)</p>
                        <p>@Html.DisplayFor(model => item.SimplePinyin)</p>
                    </div>
                </div>
            </div>
    </a>
}